package com.gzxx.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.List;

/**
 * @author MAX
 * @date 2020/8/13 10:19 上午
 */

@Data
@ApiModel(value = "新增系统角色传输实体", description = "新增系统角色传输实体")
public class SysRoleCreateDto implements Serializable {

    private static final long serialVersionUID = -3053669888232163814L;

    @NotEmpty(message = "角色名称不能为空")
    @ApiModelProperty(value = "角色名称", example = "测试")
    private String roleName;

    @ApiModelProperty(value = "角色描述", example = "测试人员")
    private String roleDesc;

    @ApiModelProperty(value = "角色状态", example = "0")
    private Integer status;

    @ApiModelProperty(value = "角色关联菜单", example = "[1,2,3]")
    private List<Long> menuIds;
}
